<include file="Public/header" title="{$Think.config.PWD_NAME}" />
<include file="Public/navbar" />
<div class="container">
    <form action="" method="post">
    <div class="input-group">
        <span class="input-group-addon">搜索</span>
        <input type="text" class="form-control" name="keyword" id="keyword" placeholder="请输入关键字进行检索">
        <span class="input-group-btn"><button class="btn btn-primary" type="submit">搜索</button></span>
    </div>
    </form>
</div>
<div class="container">
<table class="table table-striped table-hover">
    <thead>
        <tr>
            <th>序号</th>
            <th>标题</th>
            <th>创建时间</th>
            <th>创建IP</th>
            <th>查阅次数</th>
        </tr>
    </thead>
    <tbody>
        <volist name="list" id="vo">
        <tr>
            <td>{$i+$p*$listRows-$listRows}</td>
            <td><a href="{:U('Password/view', array('id'=>pwd_authcode($vo['id'], 'ENCODE', '', 1800)))}">{$vo['title']}</a></td>
            <td>{$vo['create_time']}</td>
            <td>{$vo['create_ip']}</td>
            <td>{$vo['view_num']}</td>
        </tr>
        </volist>
    </tbody>
</table>
<ul class="pager pager-pills">{$page}</ul>
</div>
<include file="Public/footer" />